package com.lagou.sqlSession;

import com.lagou.pojo.MappedStatement;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

public interface ResultSetHandler {

    <E> List<E> handleResultSets(TypeHandler typeHandler, MappedStatement mappedStatement, ResultSet resultSet) throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException, IntrospectionException, InvocationTargetException;
}
